package simple14.factory;


import simple14.bag.AppleBag;
import simple14.bag.Bag;
import simple14.fruit.Apple;
import simple14.fruit.Fruit;

public class AppleFactory extends FruitFactory {
    @Override
    public Fruit getFruit() {
        return new Apple();
    }

    @Override
    public Bag getBag() {
        return new AppleBag();
    }
}
